home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group98b.txt / 000039_icon-group-sender _Tue May 26 12:40:28 1998.msg < prev    next >
Internet Message Format  |  2000-09-20  |  2KB

  1. Return-Path: <icon-group-sender>
  2. Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
  3.     by baskerville.CS.Arizona.EDU (8.8.8/8.8.7) with SMTP id MAA27049
  4.     for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Tue, 26 May 1998 12:40:15 -0700 (MST)
  5. Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
  6.     id AA31487; Tue, 26 May 1998 12:40:09 -0700
  7. Message-Id: <199805231036.MAA17216@capway.com>
  8. From: "Vladimir Grodzenski" <grodzens@capway.com>
  9. To: jeffery@cs.utsa.edu
  10. Date: Sat, 23 May 1998 12:33:14 +0000
  11. Mime-Version: 1.0
  12. Content-Type: text/plain; charset=US-ASCII
  13. Content-Transfer-Encoding: 7BIT
  14. Subject: Re: Annoying things
  15. Reply-To: <vladimir.grodzenski@capway.com>
  16. Cc: icon-group@optima.CS.Arizona.EDU
  17. Priority: urgent
  18. In-Reply-To: <199805181825.NAA29555@segfault.cs.utsa.edu>
  19. References: <199805161337.PAA01330@capway.com> (grodzens@capway.com)
  20. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  21. Status: RO
  22. Content-Length: 1008
  23.  
  24. On 18 May 98 at 13:25, you wrote:
  25.  
  26. > Under Windows Icon, open(dirname) should return a file value that
  27. > produces the filenames in the directory, one per line.  With the
  28. > present #ifdef's, this may only be enabled for the wicont program,
  29. > not with nticont, but it should be easy to enable it for both.
  30.  
  31. Thanks for the suggestion, it works! You should however mention
  32. it in the Icon reference otherwise we can only guess... Are there 
  33. some other "undocumented" features like with Microsoft? :-)
  34.  
  35. After opening the directory we get a list of both files and
  36. [sub]directories so the only way I found to distinguish them is
  37. check the failure with chdir(name) which is rather unusual...
  38.  
  39. Of course, we have to exclude the "." and ".." directories from the 
  40. list. Anyway, it works and even allows to easily recurse directories.
  41.  
  42.  
  43. Vladimir Grodzenski
  44. =================================================
  45. E-mail: vladimir.grodzenski@capway.com
  46. CompuServe: 100700,526
  47. =================================================
  48.